class Constants {
  /// debug开关，上线需要关闭
  /// App运行在Release环境时，inProduction为true；当App运行在Debug和Profile环境时，inProduction为false
  static const bool inProduction =
      const bool.fromEnvironment("dart.vm.product");

  static bool isTest = true;

  static const String data = 'data';
  static const String message = 'msg';
  static const String code = 'code';
  static const int requestSuccess = 1;
  static const tickLogin = -3;

  static const String phone = 'phone';
  static const String accessToken = 'token';
  static const String classID = 'classID';
  static const FROM_SEARCH = "from_search";
  static const baseUrl = 'http://xsa.preact.cn/';
  // static const shareUrl = 'http://42.192.41.201/#/pages/';

  static const String SP_USER = "login_user_info";
  static const String USER_MOBILE = "user_mobile";
  static const String USER_PWD = "user_pwd";
  static const String FIRST_START = "first_start";
  static const SPLASH_NUM = "splash_num";
  static const WEB_URL = "web_url";
  ///======================传参相关============================
  static const NEWS_DETAIL_ENTITY = "news_detail_entity";
  ///======================静态相关============================
  static const LOGIN_CODE_WAY = 0;
  static const LOGIN_PWD_WAY = 1;

  static const PAGE_SIZE = 20;
  static const NEWS_TYPE_1 = 1;
  static const NEWS_TYPE_2 = 2;
  static const NEWS_TYPE_3 = 3;

  ///======================数据库相关==========================
}
